package com.esms.service.impl;

import com.esms.dao.WeekMapper;
import com.esms.po.WeekRecordInfoMent;
import com.esms.service.IEmployeeWeekServer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class EmployeeWeekServerImpl implements IEmployeeWeekServer {
	@Autowired
	private WeekMapper weekMapper = null;

	@Override
	public List<WeekRecordInfoMent> getEmpDeployeeWeekList(WeekRecordInfoMent wWeekMent) {
		return weekMapper.selectWeekInfo(wWeekMent);
	}

	@Override
	public int deleteWeekInfo(WeekRecordInfoMent wWeekMent) {
		return weekMapper.deleteWeekInfo(wWeekMent);
	}

	@Override
	public int deleteByPrimaryKey(WeekRecordInfoMent wWeekMent) {
		return weekMapper.deleteByPrimaryKey(wWeekMent);
	}

	@Override
	public int insertWeekInfo(WeekRecordInfoMent weekRecordInfoMent) {
		return weekMapper.insertWeekInfo(weekRecordInfoMent);
	}

	@Override
	public WeekRecordInfoMent selectVoByPrimaryKey(int wId) {
		return weekMapper.selectVoByPrimaryKey(wId);
	}

	@Override
	public void updateByPrimaryKeySelective(WeekRecordInfoMent weekRecordInfoMent) {
		weekMapper.updateByPrimaryKeySelective(weekRecordInfoMent);
	}

	@Override
	public void updateByWaccountSelective(WeekRecordInfoMent weekRecordInfoMent) {
		weekMapper.updateByWaccountSelective(weekRecordInfoMent);
	}


}
